//引入发送请求的函数
import request from '@/utils/request'

//引入接口约束
import type {classificationS} from '../model/spu'


//待定义枚举

//一级分类
export const reqattrInfoList = () => {
  return request.get<any,classificationS>(`/admin/product/getCategory1`)
}
//一级分类
export const reqattrInfoList2 = (id:number) => {
  return request.get<any,classificationS>(`/admin/product/getCategory2/${id}`)
}
//一级分类
export const reqattrInfoList3 = (id:number) => {

  return request.get<any,classificationS>(`/admin/product/getCategory3/${id}`)
}
